export default {
  /*筛选 变化 */
  cartCount(state) {
    return state.cartList.length
  },
  cartCheckedCount(state) {
    let count = 0;
    state.cartList.forEach(item => {
      if (item.checked) count++
    })
    return count;
  },
  cartList(state) {
    return state.cartList
  },
  getstucont(state, getters) {
    return 0;
  }
}
